package com.springboot.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.springboot.blog.beans.SignIn;
import com.springboot.blog.beans.User;

public interface SignInMapper extends BaseMapper<SignIn> {

    //根据用户名查询已连续签到天数
    SignIn siginCount(String userName);

    int buyshop(Double price);

    int updateSigin(String userName,String shopname);

    //根据用户名设置余额
    int updateReward(String userName,Double balance);
}
